@import '../vendors/bootstrap/css/bootstrap.min.css';


@media screen and (max-width: 767px) {


    .ogMs_bg {
        width: 100%;
        height: 100%;
        position: relative;
        .bg_mask, .d_block {
            width: 100%;
            height: 100%;
            background-color: #231f20;
            opacity: 0.9;
            position: absolute;
            top: 0;
            left: 0;
            z-index: 1;
        }

        .bg_mask {
            display: none;
        }
        .d_block {
            display: block;
        }
    }
    .ogMs_top .row div:last-child form {
        left: 30px;
    }
    .ogMs_nav {
        height: 60px;
        padding: 0;
        .navbar-default {
            background-color: #231f20;
            z-index:999;
            .p_fixed {
                position: fixed;
            }
            .container-fluid {
                width: 100%;
                overflow-x: hidden;
                // position: fixed;
            }
            .navbar-collapse {
                position: fixed;
                width: 100%;
                height: 100%;
                border: none;
                margin: 0;
                z-index:99!important;
            }
        }
        .navbar-header {
            margin: 2px 6px;
            overflow-y: hidden;
            width: 100%;
            height: 55px;
            .navbar-toggle {
                padding: 12px 4px 0 0;
                border: none;
                &:focus, &:hover {
                    background-color: #231f20;
                }
                .icon-bar {
                    background-color: #f7941e;
                }
            }
            .navbar-brand {
                padding: 0;
                height: 60px;
                overflow-y: hidden;
                img {
                    height: 100%;
                }
            }
        }
        .navbar-nav {
            margin: 0;
            overflow-x: hidden;
            li a {
                padding-left: 50px!important;
            }
            li:first-child a {
                background-color: #231f20!important;
                color: #fff!important;
                &:hover {
                    background-color: #f7941e!important;
                }
            }
        }
    }   
    .ogMs_banner {
        padding: 0;
    }
    .ogMs_content {
        .row {
            .con_left, .con_between, .con_right {
                padding: 0!important;
                margin-bottom: 10px;
                height: 100%;
                .c_bg {
                    height: 100%;
                    img {
                        width: 100%;
                        height: 100%;
                    }
                }
            }
            .con_between {
                .c_bg {
                    // display: flexbox;
                    img {
                        // flex: 1;
                        width: 100%;
                        margin: 0!important;
                        &:first-child {
                            margin-bottom: 10px!important;
                        }
                    }
                }
            }
        }
    }

    .ogMs_footer {
        .container {
            .left {
                width: 100%!important;
                .footer_links {
                    dl {
                        width: 25%!important;
                    }
                }
            }
            
            .right {
                width: 290px!important;
                .dialogue_box {
                    width: 60%!important;
                    left: 0!important;
                    p {
                        padding-top: 8px!important;
                    }
                    img {
                        left: 174px!important;
                    }
                }
                .pic_eye {
                    width: 40%!important;
                    top: 43px!important;
                    right: 0px!important;
                }
            }
        }
    }
}
@media screen and (min-width: 768px) and (max-width: 991px) {
    .ogMs_top .row {
        div:first-child img {
            width: 100%;
        }
        div:last-child form {
            left: 30px;
        }
    }
    .ogMs_nav .ogMs_navbar .navbar-collapse .navbar-nav li {
        width: 120px;
    }
    .ogMs_content {
        .row {
            .con_between {
                padding-right: 0!important;
            }
            .con_right {
                margin-top: 10px;
                padding: 0!important;
                height: 100%;
                .c_bg {
                    height: 100%!important;
                }
            }
        }
    }
    .ogMs_footer {
        .container {
            .left {
                width: 720px!important;
            }
        }
    }
}
@media screen and (min-width: 992px) and (max-width: 1199px) {
    .ogMs_top .row div:last-child form {
        left: 140px;
    }
    .ogMs_nav .ogMs_navbar .navbar-collapse .navbar-nav {
        width: 100%;
        li {
            width: 16.66%;
        }
    }
    .ogMs_content {
        .row {
            div {
                height: 500px!important;
            }
        }
    }
    .ogMs_footer {
        .container {
            .left {
                width: 100%!important;
                height: 100%!important;
            }
        }
    }
}
@media screen and (min-width: 1200px) {
    .ogMs_top .row div:last-child form {
        left: 240px;
    }
    .ogMs_nav .ogMs_navbar .navbar-collapse .navbar-nav li {
        width: 190px;
    }
    .ogMs_content {
        .row {
            .con_right, .con_between {
                margin-left: 5px;
                padding: 0;
            }
            .con_left, .con_between {
                margin-right: 5px;
                padding: 0;
            }
        }   
    }
    .w_370 {
        width: 370px;
    }
    .w_380 {
        width: 380px;
    }
    .ogMs_footer {
        .container {
            .right {   
                position: absolute!important;
                right: 0;
            }
        }
    }
}



* {
    padding: 0;
    margin: 0;
}

.w_half {
    width: 50%;
}
.f_left {
    float: left;
}



.row>div {
    padding-left: 0;
    padding-right: 0;
}
.ogMs_bg {
    width: 100%;
    min-width:300px;
    height: 100%;
    background: url(../img/ogMs_bg.jpg) center 0;
}

.ogMs_top {
    .row {
        width: 100%;
        margin: 0;
        .ogMs_search {
            form {
                width: 330px;
                &::after {
                    top: 30px;
                    left: 8px;
                }
                &::before {
                    top: 26px;
                    right: 8px;
                }
                input {
                    width: 100%;
                    margin-top: 20px;
                    background-color: rgba(0,0,0,0.4);
                }
            }
        }
    }
}

// 搜索栏公共部分

.ogMs_search {
    form {
        height: 34px;
        position: relative;
        &::after, &::before {
            content: "";
            display: block;
            width: 20px;
            height: 20px;
            position: absolute;
            cursor:pointer
        }
        &::after {
            background: url(../img/search_icon.png) no-repeat;
            background-size: 15px;
        }
        &::before {
            border-radius: 50%;
            background: #000 url(../img/close_icon.png) no-repeat center;
            background-size: 12px;
        }
        input {
            width: 100%;
            height: 100%;
            line-height: 34px;
            padding-left: 40px;
            border: none;
            color: #fff;
            border-radius: 15px;
            &::-webkit-input-placeholder {
                color: #fff;
            }
            &:-moz-placeholder {
                color: #fff;
            }
            &::-moz-placeholder {
                color: #fff;
            }
            &:-ms-input-placeholder {
                color: #fff;
            }
            &:focus{
                outline:none;
            }
        }
    }
}

// 导航

.ogMs_nav {
    .ogMs_navbar {
        height: 100%;
        border-radius: 0;
        min-height: 40px;
        border: 0;
        .container-fluid, .container-fluid .navbar-collapse { 
            padding-left: 0;
            padding-right: 0;
        }
        .navbar-collapse {
            .ogMs_search {
                height: 52px;
                background-color: #231f20;
                form {
                    padding: 0 10px;
                    input {
                        width: 100%;
                        margin: 6px 0;
                        background: #aaaaaa;
                    }
                &::after {
                    top: 16px;
                    left: 22px;
                }
                &::before {
                    top: 14px;
                    right: 24px;
                }
                }
            }
            .navbar-nav {
                background-color: #231f20;
                li a {
                    height: 40px;
                    line-height: 12px;
                    color: #fff;
                    font-size: 14px;
                    padding-left: 16px;
                    margin-right: -1px;
                } 
                li:first-child a {
                    background-color: #f7941e;
                    color: #000;
                }
                > li:hover a {
                    background-color: #f7941e;
                }
            }
        }
    }
}


// banner部分

.ogMs_banner {
    position: relative;
    .carousel-inner {
        .item img {
            width: 100%;
        }
    }
    .carousel-control {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        background-color: #fff;
        opacity: 1;
        color: #000;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        .glyphicon {
            margin-top: 3px;
            font-weight: 600;
        }
    }
    .carousel-control.left, .carousel-control.right {
        background-image: none;
    }
}

// 内容区

.ogMs_content {
    margin-top: 15px;
    height: 100%;
    .row {
        margin: 0;
        h3, h4, p {
            padding: 0;
            margin: 0;
        }
        div {
            height: 450px;
            color: #fff;
        }
        .con_right, .con_between {
            padding-left: 5px;
        }
        .con_left, .con_between {
            padding-right: 5px;
        }

        .c_bg {
            width: 100%;
            padding: 15px;
            background: rgba(0,0,0,0.4);
            h3 {
                font-size: 19px;
                font-weight: 600;
            }
            h4 {
                font-size: 15px;
                font-weight: 600;
            }
            p {
                font-size: 12.5px;
            }
            span {
                color: #337ab7;
            }
            img {
                width: 100%;
                margin-bottom: 10px;
                border: 5px solid #fff;
            }
            .color {
                color: #f7941b;
            }
            .btn {
                padding: 0;
            }
            input {
                width: 145px;
                height: 28px;
                background: linear-gradient(to top, #275d8d, #3278b4);
                border-radius: 20px;
                border: none;
                &:focus {
                    outline: none;
                }
            }
        }
    }
}


// 底部

.ogMs_footer {
    width: 100%;
    height: 100%;
    margin-top: 20px;
    background-color: #f7941e;
    .shadow {
        width: 100%;
        height: 50px;
        position: relative;
        top: -25px;
        overflow: hidden;
        &::before, &::after {
            content: "";
            position: absolute;
            top: 25px;
            left: -10%;
            width: 4000px;
            height: 35px;
        }
        &::before {   
            box-shadow: 0 -8px 22px #0d0806 ;
        }
        &::after {
            box-shadow: 0 8px 22px #0d0806 inset;
        }
    }
    .container {
        height: 100%;
        position: relative;
        .left {
            width: 756px;
            height: 100%;
            float: left;
            color: #000;
            .footer_links {
                width: 100%;
                height: 116px;
                dl {
                    float: left;
                    width: 25%;
                    dt {
                        font-size: 14px;
                        font-weight: 800;
                        line-height: 32px;
                    }
                    dd {
                        font-size: 12px;
                    }
                }
            }
        }
        
        .right {
            width: 384px;
            clear: both;
            position: relative;
            height: 160px;
            margin: 0 auto;
            .dialogue_box {
                width: 220px;
                height: 135px;
                background-color: #fff;
                border-radius: 18px;
                position: absolute;
                left: -20px;
                p {
                    padding: 18px 8px;
                    line-height: 20px;
                    font-size: 8px;
                    color: #000;
                    em {
                        font-size: 6px;
                    }
                    span {
                        color: #0084b4;
                    }
                }
                img {
                    position: absolute;
                    top: 72px;
                    left: 219px;
                    z-index: 999;
                }
            }
            .pic_eye {
                width: 180px;
                position: absolute;
                top: 0;
                right: 0;
            }
        }
        .footer_copyright {
            clear: both;
            margin: 10px auto;
            text-align: center;
            font-size: 12px;
            color: #000;
            a {
                color: #000;
            }
        }
    }
}